{imp:"tester/tester-layout"}<!--继承父模板-->

{block:extop}<?php
$title = '标签演示';
?>{/block:extop}

{block:exmain}

<hr>

· {= date('Y-m-d'); } <br>
· {= 'Hi! '; }{= date('Y-m-d') } <br>
· {php echo date('Y-m-d'); } <br>

<hr>

<p>=== List:调用广告 ===</p>
{tag:d2hinfo=[List][modid,adtext][stype,athom][limit,6]}
<li>
<p>{title($t_title,96,$v)}</p>
</li>
{/tag:d2hinfo}
        
<hr>


info_nav [order,0,id2+id3]
<li>[stype,ct01][keywd,津,title+mname][mfron,gx+gd,in][mfron,gx,like][where,did='2004-33-2ycx']</li>
[join,person,uid][join,demo,did]
[join,detail]

<hr>sopt()
<li>{sopt(c0769+c0735,china)}</li>
<hr>


{php $_did = '2006-97-8axx'; }
{tag:demo1=[One][modid,demo][join,detail][where,"m.did='$_did'"][order,etime]}
<li><a href="{surl("demo.$t_did")}">{=$v['title']} --- {stime($t_atime)} --- {=$t_detail}</a></li>
{/tag:demo1}
<hr>


pgbar ::: test:
{tag:demo2=[Page][modid,demo][keywd,e,title+mname][limit,3]}
{:row}
<li><a href="{surl("demo.$t_did")}">{=$t_title} --- {stime($t_atime)}</a></li>
{/row}
{php echo $_cbase['page']['bar']; }
{/tag:demo2}
<hr>


$_did = 'yyyy-md-xxxx';
{php $_did = '2006-97-8axx'; }
{tag:demo3=[List][modid,demo][keywd,西,title+mname][where,"did='$_did'"][order,etime][limit,3]}
<li><a href="{surl("demo.$t_did")}">{=$t_title} --- {stime($t_atime)}</a></li>
{/tag:demo3}
<hr>


<ul>
<li><a href="{surl(about,-);}">about-{=$_groups['about']['title']}</a></li>
{tag:about=[Type][modid,about]}
<li><a href="{surl("about-$v[kid]")}">{=$t_title}</a></li>
{/tag:about}
</ul>
<hr>


modid,china : sun:zx --- 
[keywd,2][idfix,sun:p1012][idfix,sall:p1012]
{tag:flag4=[Type][modid,china][idfix,sun:zx]}
<li>{=$t_kid},{=$t_title}</li>
{/tag:flag4}
<hr>


{php}
$mod = 'cargo';
{/php}
{tag:flag1=[Type,re1][modid,$mod][idfix,top]}
<div>
<li>head: mod={=$mod} top</li>
row{:row}
<li>{=$re1['title']}</li>
{/row}/row
</div>
{/tag:flag1}
<hr>


{tag:flag2=[Type][modid,demo][idfix,top]}
demo-top: 
{:row}
{=$t_kid}{=$t_title}, 
{/row}
{/tag:flag2}
<hr>

{php}
$mod = 'cargo'; //[stype,p2012] // [where,tex_cargo::expwhr(1)] tex_cargo::expwhr($this,@$re1['h'])
{/php}
{tag:cargo1=[List,re1][modid,$mod][idfix,top]}
<div>
<li><a href="?info-tag">[All]</a> # <a href="?info-tag&exp_s01=zhineng">智能</a> # <a href="?info-tag&exp_s01=net3g">3G</a></li>
row{:row}
<li>{=$re1['title']}</li>
{/row}/row
</div>
{/tag:cargo1}
[exp_s01,$s01] [euf_ufunc,]

<hr>

<li>{stime(1234657890,Y-m-d H:i,array('w'=>250\n'h'=>@$re1['h']))}</li>
<li>{stime(1234657890,Y-m-d H:i)}</li>

<li>show(sys_name): --------------- {show(sys_name)}</li>
<li>show(run.stamp): -------------- {show(run.stamp)}</li>
<li>show(tplname): ---------------- {show(tplname)}</li>
<li>show(abc.def): ---------------- {show(abc.def)}</li>
<li>$tplname: --------------------- {=$tplname}</li>
<li>$_cbase['run']['stamp']: ------ {=$_cbase['run']['stamp']}</li>
<li>$this->mod: ------------------- {=$this->mod}</li>
<li>$this->ucfg['q']: ------------- {=$this->ucfg['q']}</li>
<li>$this->ucfg: ------------------ {=$this->ucfg['mkv']}</li>
<li>$_cbase: ---------------------- {=$_cbase['sys_name']}</li>
<li>vopUrl::$ukeys['1'] ----------- {vopUrl::$ukeys['1']}</li>
<hr>

{/block:exmain}
